package com.benmei.weike.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import com.benmei.weike.entity.McBuyer;
import org.springframework.stereotype.Component;

@Component
@Mapper
public interface McBuyerDao {
    int insert(@Param("pojo") McBuyer pojo);

    int insertSelective(@Param("pojo") McBuyer pojo);

    int insertList(@Param("pojos") List<McBuyer> pojo);

    int update(@Param("pojo") McBuyer pojo);

    McBuyer findBuyer(@Param("mcCourseId")Integer mcCourseId, @Param("memb_id")Integer memb_id);
}
